public class PrintNameThread extends Thread {

	public PrintNameThread(String string) {

		super(string);

	}

	@Override
	public void run() {

		System.out.println("My name is " + getName());

	}

}
